package cn.dida.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by zhangzhiling on 2017/8/30.
 */
public class SalesmanPayrule implements Serializable {

    private Integer id;
    private Integer company_id;
    private String name;
    private Long valid_begin_time;//有效开始时间
    private Long valid_end_time;//有效结束时间
    private Integer payway;
    private Integer day_limit;//每日提现上限次数
    private Double pay_limit;//提现上限
    private Integer pay_condition;//提现条件 1:按瓶数 2:按金额
    private Long c_time; //创建时间
    private String account;//创建人
    private Integer state;
//    private String adname;//行政区划名称
//    private String  adcode;//行政区划编码
    private Integer staff_id;//创建人主键
    private List<SalesmanPayrulePro> proList;
    private SalesmanPayrulePro pros[];
    private List<SalesmanPayruleArea> areaList;
    private SalesmanPayruleArea area[];

    public SalesmanPayrulePro[] getPros() {
        return pros;
    }

    public void setPros(SalesmanPayrulePro[] pros) {
        this.pros = pros;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompany_id() {
        return company_id;
    }

    public void setCompany_id(Integer company_id) {
        this.company_id = company_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getValid_begin_time() {
        return valid_begin_time;
    }

    public void setValid_begin_time(Long valid_begin_time) {
        this.valid_begin_time = valid_begin_time;
    }

    public Long getValid_end_time() {
        return valid_end_time;
    }

    public void setValid_end_time(Long valid_end_time) {
        this.valid_end_time = valid_end_time;
    }

    public Integer getPayway() {
        return payway;
    }

    public void setPayway(Integer payway) {
        this.payway = payway;
    }

    public Integer getDay_limit() {
        return day_limit;
    }

    public void setDay_limit(Integer day_limit) {
        this.day_limit = day_limit;
    }

    public Double getPay_limit() {
        return pay_limit;
    }

    public void setPay_limit(Double pay_limit) {
        this.pay_limit = pay_limit;
    }

    public Integer getPay_condition() {
        return pay_condition;
    }

    public void setPay_condition(Integer pay_condition) {
        this.pay_condition = pay_condition;
    }

    public Long getC_time() {
        return c_time;
    }

    public void setC_time(Long c_time) {
        this.c_time = c_time;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getStaff_id() {
        return staff_id;
    }

    public void setStaff_id(Integer staff_id) {
        this.staff_id = staff_id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public List<SalesmanPayrulePro> getProList() {
        return proList;
    }

    public void setProList(List<SalesmanPayrulePro> proList) {
        this.proList = proList;
    }

    public List<SalesmanPayruleArea> getAreaList() {
        return areaList;
    }

    public void setAreaList(List<SalesmanPayruleArea> areaList) {
        this.areaList = areaList;
    }

    public SalesmanPayruleArea[] getArea() {
        return area;
    }

    public void setArea(SalesmanPayruleArea[] area) {
        this.area = area;
    }
}
